#include "TimeComponent.h"


void TimeComponent::clearArea()
{
	lcd.fillRect(TIME_TEXT_POS_X, TIME_TEXT_POS_Y,
		TIME_TEXT_WIDTH, TIME_TEXT_HEIGHT, BACKGROUND_COLOR);
}

void TimeComponent::doRender()
{
	lcd.setFreeFont(TIME_TEXT_FONT);
	lcd.setTextColor(TIME_TEXT_COLOR);
	lcd.drawString(time, TIME_TEXT_POS_X, TIME_TEXT_POS_Y);
}